package com.cn.service.server.PartsManagement;

import com.cn.bean.dto.BusinessProjectParameterItemDto;
import com.cn.bean.dto.ComponentSingleRegistrationDto;
import com.cn.bean.dto.StatusOperationDto;
import com.cn.bean.pojo.lbj.BusinessProjectSingleParameterItemHistoryDataTable;
import com.cn.bean.pojo.lbj.ComponentSingleRegistrationTable;
import com.cn.bean.pojo.sys.BusinessStateOperationSub_Table;
import com.cn.bean.pojo.sys.BusinessStatusOperationMainTable;
import com.cn.bean.pojo.yw.BusinessProjectSingleParameterItemCurrentDataTable;

import java.util.List;

public interface ComponentSingleRegistrationService {
    List<BusinessProjectParameterItemDto>selectBusinessProjectParameterItem(BusinessProjectParameterItemDto businessProjectParameterItemDto);
    List<ComponentSingleRegistrationTable>selectMain(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    List<BusinessProjectSingleParameterItemCurrentDataTable>selectSub(BusinessProjectSingleParameterItemCurrentDataTable businessProjectSingleParameterItemCurrentDataTable);
    ComponentSingleRegistrationTable selectUniqueCode(String uniqueCode);
    List<ComponentSingleRegistrationTable>selectComponentSingleRegistrationTable(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    int insertComponentSingleRegistration(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    int insertCurrentDataTable(BusinessProjectSingleParameterItemCurrentDataTable currentDataTable);
    int delComponentSingleRegistration(String uniqueCode);
    int delCurrentDataTableStatus(String uniqueCode);
    int delCurrentDataTable(String uniqueCode);
    int insertHistoryDataTable(BusinessProjectSingleParameterItemHistoryDataTable historyDataTable);
    List<ComponentSingleRegistrationDto> selectAll(ComponentSingleRegistrationDto componentSingleRegistrationDto);
    List<ComponentSingleRegistrationDto> selectSub(String uniqueCode);
    Integer getComponentSingleRegistrationAutoid();
    Integer getCurrentDataTableAutoid();
    int updateComponentSingleRegistration(ComponentSingleRegistrationTable componentSingleRegistrationTable);
}
